package com.example.volleyball.playcharting.android;

import java.util.ArrayList;
import sharedClasses.*;

import android.os.AsyncTask;
import android.util.Log;


class MessageTask extends AsyncTask<Object, Void, Void> {

	@Override
	protected Void doInBackground(Object... arg0) {
        Client client = new Client(); // Button button, where's the button?
        client.start();
        client.sendMatch((Match)arg0[0]);
        Log.e("INFO: ", "stopping client");
        client.stop(); //aahhhhhhhh
        Log.e("INFO: ", "client stopped");
        return null;
	}
    
}